<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Import</title>
<link rel="stylesheet" type="text/css" href="/Server/css/style.css">
</head>
<body>
<div class="wrapper">
<form action="/Server/Import" method="get">
<select name="import">
 <option  onclick="hideFields(true)">masters</option>
 <option  onclick="hideFields(true)">garages</option>
 <option  onclick="hideFields(false)">orders</option> 
 </select>
choose file for import object <input type="file" name="url">
<input type="submit" value="import">
<div id='hidden_fields'>
        <p>choose file for import master <input type="file" name="masterUrl" ></p>
        <p>choose file for import garage <input type="file" name="garageUrl"></p> 
</div>
<script type='text/javascript' src="/Server/js/extrafields.js"></script>
<p><c:out value="${requestScope.answer}"/></p>
</form>
<form action="/Server/autorizationpages/MainPage.jsp">
<p><input  type="submit" value="return on the main page"/></p>
</form>
</div>
</body>
</html>